//
//  GCBaseEditCellViewModel.m
//  GYDemo
//
//  Created by mac on 2018/5/14.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "GCBaseEditCellViewModel.h"
#import "Head.h"

@implementation GCBaseEditCellViewModel
#pragma mark - getter and setter
-(BOOL)canEdit
{
    if (_tapAction.length > 0) {
        return NO;
    }else{
        return YES;
    }
}
#pragma mark - life
-(instancetype)init
{
    if (self = [super init]) {
        _cellHeight = WFCGFloatY(45);
        _necessary = YES;
        _inputType = UIKeyboardTypeDefault;
        _canExpandable = NO;
    }
    return self;
}
@end
